export default {
  // 商品详情分享
  fftGoodsConfig: {
    width: 750,
    height: 600,
    backgroundColor: '#fff',
    debug: false,
    blocks: [
      {
        x: 0,
        y: 510,
        width: 750, // 如果内部有文字，由文字宽度和内边距决定
        height: 90,
        backgroundColor: '#07c160',
        // borderRadius: 20,
        text: {
          text: [
            {
              text: '立即跟团',
              fontSize: 42,
              color: '#fff',
              opacity: 1,
              width: 750,
              textAlign: 'center'
              // marginLeft: -90,
              // marginRight: 10,
            },
          ],
          baseLine: 'middle',
          textAlign: 'center'
        },
      }
    ],
    texts: [
      {
        x: 80,
        y: 30,
        text: [
          {
            text: '长标题长标题长标题长标题长标题长标题长标题长标题长标题',
            fontSize: 26,
            color: '#666',
            opacity: 1,
            marginLeft: 0,
            marginRight: 10,
            width: 300,
            lineNum: 1,
          },
        ],
        baseLine: 'middle',
      },
      {
        x: 300,
        y: 30,
        text: [
          {
            text: '1234人成团',
            fontSize: 26,
            color: '#666',
            opacity: 1,
            marginLeft: 300,
            width: 200,
          },
        ],
        baseLine: 'middle',
        textAlign: 'right'
      },
    ],
    images: [
      {
        url: 'https://6c6f-love-0g1b6yqybf5521f5-1316718936.tcb.qcloud.la/story/story1710724494966.png',
        width: 750,
        height: 540,
        y: 60,
        x: 0,
      },
      {
        url: 'https://6c6f-love-0g1b6yqybf5521f5-1316718936.tcb.qcloud.la/uimg/uimg1710724562594.png',
        width: 50,
        height: 50,
        y: 5,
        x: 10,
        borderRadius: 50
      },
    ],
  },
  // 买好
  fftBuyConfig: {
    width: 750,
    height: 600,
    backgroundColor: '#07c160',
    debug: false,
    blocks: [
      {
        x: 20,
        y: 150,
        width: 710, // 如果内部有文字，由文字宽度和内边距决定
        height: 410,
        backgroundColor: '#fff',
        borderRadius: 20,
      }
    ],
    texts: [
      {
        x: 40,
        y: 80,
        text: [
          {
            text: '我买好了！',
            fontSize: 80,
            color: '#fff',
            opacity: 1,
            marginLeft: 0,
            marginRight: 10,
            width: 750,
            lineNum: 1,
          },
        ],
        baseLine: 'middle',
        fontWeight: 'blod',
        zIndex: 2
      },
      {
        x: 520,
        y: 250,
        text: [
          {
            text: '长标题长标题长标题长标题长标题长标题长标题长标题长标题',
            fontSize: 34,
            color: '#666',
            opacity: 1,
            marginLeft: 0,
            marginRight: 10,
            width: 150,
            lineNum: 1,
          },
        ],
        baseLine: 'middle',
        zIndex: 2
      },
      {
        x: 495,
        y: 375,
        text: [
          {
            text: '¥',
            fontSize: 36,
            color: '#f36838',
            opacity: 1,
            // marginLeft: 300,
            width: 200,
          },
        ],
        baseLine: 'middle',
        zIndex: 2
      },
      {
        x: 520,
        y: 360,
        text: [
          {
            text: '0.01',
            fontSize: 80,
            color: '#f36838',
            opacity: 1,
            // marginLeft: 300,
            width: 200,
          },
        ],
        baseLine: 'middle',
        zIndex: 2
      },
    ],
    images: [
      {
        url: 'https://6c6f-love-0g1b6yqybf5521f5-1316718936.tcb.qcloud.la/story/story1710724494966.png',
        width: 370,
        height: 370,
        y: 170,
        x: 40,
        zIndex: 2,
        borderRadius: 20,
      },
      {
        url: 'https://6c6f-love-0g1b6yqybf5521f5-1316718936.tcb.qcloud.la/uimg/uimg1710724562594.png',
        width: 60,
        height: 60,
        y: 220,
        x: 450,
        zIndex: 2,
        borderRadius: 60
      },
    ],
  },
  // 海报
  fftPosterConfig: {
    width: 750,
    height: 1350,
    backgroundColor: '#fff',
    debug: false,
    blocks: [
      {
        x: 30,
        y: 1180,
        width: 400, // 如果内部有文字，由文字宽度和内边距决定
        height: 60,
        backgroundColor: '#f1f1f1',
        borderRadius: 20,
        text: {
          text: [
            {
              text: '长按识别小程序 跟团购买 =>',
              fontSize: 26,
              color: '#666',
              opacity: 1,
              width: 400,
              textAlign: 'center'
            },
          ],
          baseLine: 'middle',
          textAlign: 'center'
        },
      }
    ],
    texts: [
      {
        x: 110,
        y: 38,
        text: [
          {
            text: '美妈心选 退货包运费',
            fontSize: 28,
            color: '#252525',
            opacity: 1,
            marginLeft: 0,
            marginRight: 10,
            width: 750,
            lineNum: 1,
          },
        ],
        baseLine: 'middle',
        fontWeight: 'blod',
        zIndex: 2
      },
      {
        x: 110,
        y: 68,
        text: [
          {
            text: '05.07 10:11:13',
            fontSize: 24,
            color: '#ccc',
            opacity: 1,
            marginLeft: 0,
            marginRight: 10,
            width: 750,
            lineNum: 1,
          },
        ],
        baseLine: 'middle',
        fontWeight: 'blod',
        zIndex: 2
      },
      {
        x: 30,
        y: 850,
        text: [
          {
            text: '长标题长标题长标题长标题长标题长标题长标题长标题长标题',
            fontSize: 34,
            color: '#050505',
            opacity: 1,
            marginLeft: 0,
            marginRight: 10,
            width: 665,
            lineNum: 2,
            lineHeight: 44,
          },
        ],
        baseLine: 'middle',
      },
      {
        x: 30,
        y: 935,
        text: [
          {
            text: '商品详情商品详情商品详情商品详情商品详情商品详情商品详情商品详情商品详情商品详情商品详情商品详情商品详情商品详情商品详情',
            fontSize: 26,
            color: '#ccc',
            opacity: 1,
            // marginLeft: 300,
            width: 680,
            lineNum: 2,
            lineHeight: 30,
          },
        ],
        baseLine: 'middle',
        zIndex: 2
      },
      {
        x: 40,
        y: 1110,
        text: [
          {
            text: '¥0.01~29.9',
            fontSize: 50,
            color: '#f36838',
            opacity: 1,
            // marginLeft: 300,
            width: 400,
          },
        ],
        baseLine: 'middle',
        zIndex: 2
      },
    ],
    images: [
      {
        url: 'https://6c6f-love-0g1b6yqybf5521f5-1316718936.tcb.qcloud.la/uimg/uimg1710724562594.png',
        width: 60,
        height: 60,
        y: 20,
        x: 30,
        zIndex: 2,
        borderRadius: 20
      },
      {
        url: 'https://6c6f-love-0g1b6yqybf5521f5-1316718936.tcb.qcloud.la/story/story1710724494966.png',
        width: 690,
        height: 690,
        y: 110,
        x: 30,
        borderRadius: 20,
      },
      {
        url: 'https://6c6f-love-0g1b6yqybf5521f5-1316718936.tcb.qcloud.la/story/story1710724494966.png',
        width: 240,
        height: 240,
        y: 1050,
        x: 480,
        borderRadius: 20,
      },
    ],
  }
}